package Server.DataBase;

import java.io.Serializable;
 /**
  * 
  * @author Baglama
  *
  */
public class Semester implements Serializable {
	
	/**
	 *  final long serialVersionUID = 1L;
	 */
	private static final long serialVersionUID = 1L;

	private int idSemester;
	
	private int year;
	
	private int session;
/**
 * semester constructor
 * @param idSemester
 * @param year
 * @param session
 */
	public Semester(int idSemester, int year, int session) {
		super();
		this.idSemester = idSemester;
		this.year = year;
		this.session = session;
	}
/**
 * 
 * @return idSemester
 */
	public int getIdSemester() {
		return idSemester;
	}
/**
 * 
 * @return year
 */
	public int getYear() {
		return year;
	}
/**
 * 
 * @return session
 */
	public int getSession() {
		return session;
	}
	/**
	 * 
	 */
	public String toString(){
		return year+" "+session;
	}

}
